package com.lottery.entity;

import java.io.Serializable;

//用户信息表user_info
public class User implements Serializable {

	/**
	* 
	*/
	private static final long serialVersionUID = -5138170524356767496L;

	// 用户id
	private int userId;

	// 用户名称
	private String userName;

	// 1普通用户，2.后台管理用户，3.客服
	private int userType;

	// 0是可用，1是不可用
	private String enableUse;

	// 代理方ID
	private String agencyId;

	// 用户头像图片地址
	private String headPic;

	// 用户手机号
	private String phoneNum;

	// 用户积分
	private int userScore;

	// 用户等级
	private int userLevel;

	// 用户真实姓名
	private String realName;

	// 用户身份证号
	private String identityCard;

	// M 男性，F 女性
	private String sex;

	// 用户年龄
	private int age;

	// 国家
	private String country;

	// 省份
	private String province;

	// 城市
	private String city;

	// 推荐码
	private String recommendCode;

	// 我的推荐码
	private String myRecommendCode;

	// 备注
	private String remark;

	// 创建时间
	private String createTime;

	// 最后活跃时间
	private String lastActiveTime;

	private String state;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public String getEnableUse() {
		return enableUse;
	}

	public void setEnableUse(String enableUse) {
		this.enableUse = enableUse;
	}

	public String getAgencyId() {
		return agencyId;
	}

	public void setAgencyId(String agencyId) {
		this.agencyId = agencyId;
	}

	public String getHeadPic() {
		return headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public int getUserScore() {
		return userScore;
	}

	public void setUserScore(int userScore) {
		this.userScore = userScore;
	}

	public int getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getIdentityCard() {
		return identityCard;
	}

	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getRecommendCode() {
		return recommendCode;
	}

	public void setRecommendCode(String recommendCode) {
		this.recommendCode = recommendCode;
	}

	public String getMyRecommendCode() {
		return myRecommendCode;
	}

	public void setMyRecommendCode(String myRecommendCode) {
		this.myRecommendCode = myRecommendCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastActiveTime() {
		return lastActiveTime;
	}

	public void setLastActiveTime(String lastActiveTime) {
		this.lastActiveTime = lastActiveTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userType=" + userType + ", enableUse="
				+ enableUse + ", agencyId=" + agencyId + ", headPic=" + headPic + ", phoneNum=" + phoneNum
				+ ", userScore=" + userScore + ", userLevel=" + userLevel + ", realName=" + realName + ", identityCard="
				+ identityCard + ", sex=" + sex + ", age=" + age + ", country=" + country + ", province=" + province
				+ ", city=" + city + ", recommendCode=" + recommendCode + ", myRecommendCode=" + myRecommendCode
				+ ", remark=" + remark + ", createTime=" + createTime + ", lastActiveTime=" + lastActiveTime
				+ ", state=" + state + "]";
	}

}
